# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=poppler-data
pkgver=0.4.9
pkgrel=1
pkgdesc="encoding data for the poppler PDF rendering library"
url="https://poppler.freedesktop.org/"
arch="noarch"
license="GPL-2.0-or-later AND BSD-3-Clause AND MIT"
options="!check" # No test suite
source="https://poppler.freedesktop.org/poppler-data-$pkgver.tar.gz"

package() {
	make prefix=/usr DESTDIR="$pkgdir" install
	install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
	install -m644 COPYING COPYING.adobe \
		"$pkgdir"/usr/share/licenses/$pkgname/
}

sha512sums="45afd378d0bb415c5e1bc9718025328058712c0bde6d529d2c7a4813b12f600be46ecd2ed2454b3f83fb9f8cad157b75d11d8c5d1ca849f347c310b58132ff7a  poppler-data-0.4.9.tar.gz"
